import {Schema} from 'mongoose';
const {SchameTypes} = require('mongoose');

module.exports = class extends think.Mongoose {
	get schema() {
		const schema = new Schema({
			userId: String,
			token: String,
			ip: String,
			loginTime: Date,
			logoutTime: Date
		},{
			versionKey: false
		});
		return schema;
	}

};
